@import '@/style/commonStyle.scss';
$primary-empty-color: #EBF8F5;
$colorPrimary: #1890ff;
$colorSuccess: #13ce66;
$colorWarning: #ffba00;
$colorDanger: #ff4949;
$colorInfo: #5d5d5d;

@font-face {
    font-family: "iconfont";
    /* Project id 4673232 */
    src: url('iconfont.woff2?t=1725411190757') format('woff2'),
        url('iconfont.woff?t=1725411190757') format('woff'),
        url('iconfont.ttf?t=1725411190757') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.c-primary {
    color: $colorPrimary !important;
}

.c-success {
    color: $colorSuccess !important;
}

.c-warning {
    color: $colorWarning !important;
}

.c-danger {
    color: $colorDanger !important;
}

.c-info {
    color: $colorInfo !important;
}
.container{
    padding: 15px;
}
.yuan-container {
    .filter-panel {
        overflow: hidden;

        .ant-input-search {
            width: 200px;
        }
        .ant-select {
            width: 200px;
        }
        .ant-input {
            width: 200px;
        }
        .filter-input{
            width: 200px;
        }

        .filter-list {
            margin-right: 30px;
            display: inline-block;
            margin-bottom: 10px;
            vertical-align: top;
        }
        .filter-range{
            .ant-input{
                width: 60px;
            }
        }

        .filter-tips {
            line-height: 32px;
            display: inline-block;
            margin: 0 4px;
            font-size: 14px;
        }

        button {
            margin-right: 10px;
        }
    }
}

.primary-empty-btn {
    background: $primary-empty-color;
    border-radius: 0px 2px 2px 0px;
    border-color: $theme-color !important;
    color: $theme-color;

    &:active {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        box-shadow: 0 0 0 2px rgba(5, 176, 137, 0.2) !important;
        color: $theme-color;
    }

    &:focus {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        color: $theme-color;
    }

    &:hover {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        color: $theme-color;
    }
}

.delete-empty-btn {
    background: $primary-empty-color;
    border-radius: 0px 2px 2px 0px;
    border-color: $theme-color !important;
    color: $colorDanger;

    &:active {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        box-shadow: 0 0 0 2px rgba(5, 176, 137, 0.2) !important;
        color: $colorDanger;
    }

    &:focus {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        color: $colorDanger;
    }

    &:hover {
        background-color: $primary-empty-color !important;
        border-color: $theme-color !important;
        color: $colorDanger;
    }
}

.yuan-form {
    .form-panel-box {
        .yuan-form-col3 {
            width: 33%;
        }
    }

    .yuan-form-col3 {
        .yuan-form-item {
            width: 33%;
        }
    }

    .form-panel-box {
        .yuan-form-col5 {
            width: 50%;
        }
    }

    .yuan-form-col5 {
        .yuan-form-item {
            width: 50%;
        }
    }
    .form-panel-box {
        .yuan-form-col10 {
            width: 100%;
        }
    }
    .yuan-form-col10 {
        .yuan-form-item {
            width: 100%;
        }
    }

    .yuan-form-item {
        min-width: 300px;
        margin-right: 0;
        width: 100%;
    }

    .yuan-form-show {
        max-width: 200px;
        line-height: 26px;
        display: inline-block;
        color: #000;
    }

    .yuan-form-input {
        max-width: 200px;
        //border-color: #eee !important;
    }
    .yuan-form-row{
        width: 100%;
    }
   
    .yuan-form-placeholder {
        font-size: 14px;
        color: #bbb;
    }
    .yuan-form-unit{
        margin: 0 5px;
    }

    .form-title {
        font-size: 16px;
        color: #204fb6;
        padding: 10px 0;
        border-bottom: solid 1px #eee;
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }
    .form-title::before {
        content: "";
        display: inline-block;
        height: 15px;
        width: 3px;
        background-color: #204fb6;
        margin-right: 8px;
    }
}

.yuan-modal {
    .ant-modal-body {
        background-color: #eee;
    }

    .form-panel {
        background-color: #fff;
        border-radius: 8px;
        padding: 20px 10px;
        margin-bottom: 10px;
    }

    .form-panel-box {
        border: solid 1px #eee;
        padding: 10px;
    }

    .form-panel-title {
        margin-bottom: 20px;
        font-size: 18px;
        color: #484848;
    }
}


.mast-ico {
    position: relative;
}

.mast-ico::before {
    content: '*';
    color: #F34038;
    font-size: 16px;
    vertical-align: middle;
    position: absolute;
    left: -13px;
    top: -16px;

}
.font-bignum{
    font-size: 16px;
    font-weight: bold;
}

.flex-grow {
    flex-grow: 1;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-nowarp {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clear-both {
    clear: both;
    width: 100%;
}

.ant-upload-picture-card-wrapper {
    vertical-align: text-top;
}


.yuan-title{
    font-size: 18px;
    color: #333;
    font-weight: bold;
}
.status-words{
    font-size: 14px;
    font-weight: bold;
}


.type-success,
.type-danger,
.type-primary,
.type-warning {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 14px;
}

.type-success {
    background: rgba(4, 209, 103, 0.1);
    color: #04d167;
}

.type-danger {
    background: rgba(233, 70, 55, 0.1);
    color: #e94637;

}

.type-primary {
    background: rgba(47, 101, 243, 0.1);
    color: #2F65F3;

}

.type-warning {
    background: #FFD706;
    color: #fff;

}
.my-type-list {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 14px;
}

.my-type-list:nth-child(2n-1) {
    background: rgba(4, 209, 103, 0.1);
    color: #04d167;
}

.my-type-list:nth-child(3n-1) {
    background: rgba(47, 101, 243, 0.1);
    color: #2F65F3;

}

.my-type-list:nth-child(4n-1) {
    background: rgba(233, 70, 55, 0.1);
    color: #e94637;
}

.my-type-list:nth-child(5n-1) {
    background: #FFD706;
    color: #fff;
}
.list-null{
    text-align: center;
    color: #999;
    .iconfont{
        font-size: 40px;
    }
}
.ant-checkbox-wrapper{
    margin-right: 15px;
}
.ant-checkbox-wrapper + .ant-checkbox-wrapper{
    margin-left:0;
    
}
.ant-modal-body{
    overflow: auto;
    max-height: calc(100vh - 180px);
}

.disable-form {
    pointer-events: none;
}
.w-e-text-placeholder{
    top: 5px;
}